Skip to content

[DTOSS-12157] - feat: implement automated release pipeline with CI/CD optimisation - #25

Merged
josielsouzanordcloud merged 2 commits into
mainfrom
DTOSS-12157-create-application-package-script
Feb 17, 2026
Merged

[DTOSS-12157] - feat: implement automated release pipeline with CI/CD optimisation#25
josielsouzanordcloud merged 2 commits into
mainfrom
DTOSS-12157-create-application-package-script

Conversation

@josielsouzanordcloud

Copy link
Copy Markdown
Contributor

Description

  • Automated release pipeline — semantic-release detects version bumps from conventional commits, creates git tags, and triggers GitHub Releases with build artifacts
  • CI/CD optimisation — pipeline reduced from ~4min to ~1m40s by replacing Docker-based semantic-release with CLI and moving CodeQL to a dedicated workflow
  • Windows deployment suite — PowerShell scripts for deploy, rollback, and cleanup of Windows Service-based installations
  • Deployment documentation — runbooks for deploy/rollback/cleanup operations and a deploy script analysis document

Jira link

DTOSS-12157

Changes

CI/CD Pipeline

  • Add cicd-2-main-branch.yaml pipeline: commit → test → release → build stages
  • Add CLI-based semantic-release version detection and tag creation
  • Move CodeQL analysis from commit stage to dedicated codeql.yaml (PRs + weekly schedule)
  • Fix GitHub Release asset upload by passing new_release_published as explicit input to reusable build workflow
  • Add build packaging with package_release.sh, smoke test, and provenance attestation
  • Add gitleaks secret scanning and Dependabot configuration

Deployment

  • Add scripts/powershell/deploy.ps1 — Windows Service deployment with health checks
  • Add scripts/powershell/rollback.ps1 — versioned rollback with automatic backup restoration
  • Add scripts/powershell/cleanup.ps1 — retention-based cleanup of old deployment artifacts
  • Add deployment runbooks and analysis documentation

Review checklist

  • Check database queries are correctly scoped to current_provider

  - Add semantic-release with CLI-based version detection and tag creation
  - Move CodeQL analysis to dedicated workflow (PRs + weekly schedule)
  - Fix GitHub Release asset upload via new_release_published input
  - Add build packaging, smoke test, and provenance attestation
  - Add gitleaks secret scanning and Dependabot configuration
  - Add PowerShell deployment scripts (deploy, rollback, cleanup)
  - Add deployment documentation and runbooks
@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@carlosmartinez carlosmartinez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@steventux and I looked through this, seems solid! although we weren't able to check every line of powershell haha

@josielsouzanordcloud
josielsouzanordcloud merged commit cc189db into main Feb 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants